<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="ThemeBucket">
  <link rel="shortcut icon" href="#" type="<%=request.getContextPath() %>/image/png">
  <title>欢迎模版页</title>
  <!--data table-->
  <link rel="stylesheet" href="<%=request.getContextPath() %>/js/data-tables/DT_bootstrap.css" />
</head>
<body class="sticky-header" onload="indexmenu('${oneMenu}','${twoMenu}');">
	<table class="display table table-bordered table-striped dataTable table-hover" id="dynamic-table" aria-describedby="dynamic-table_info">								   	    		
					        			<thead>
								        	<tr role="row">
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">配件ID</th>						        	
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">配件尺寸</th>
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">配件价格</th>								        		
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Rendering engine: activate to sort column ascending">配件图片</th>  					        		
								        	</tr>
								        </thead>
								        <c:forEach items="${list}" var="p">
								        <tbody>
								        
								        	 <tr>
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">${p.get("sampleId")}</th>						        	
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">
			
										        		 杆长:${p.get("saleNumber")}<br>
										        		 单/双:<c:if test="${p.get('number')==1}">单${p.get("accessoriesType")}</c:if><c:if test="${p.get('number')==2}">双${p.get("accessoriesType")}</c:if><br>
										        		 类型:<c:if test="${p.get('whatStructure')==0}">布配件</c:if>  <c:if test="${p.get('whatStructure')==1}">纱配件</c:if> <c:if test="${p.get('whatStructure')==2}">布加纱配件</c:if> <c:if test="${p.get('whatStructure')==3}">帘头配件</c:if>  <br>
										        		 安装情况:${p.get("panzhuangfangshi")}<br>
										        		 配件方式:${p.get("pinstallSite")}<br>
										        		 配件配饰:${p.get("acc")}<br>
										        		 配件类型:${p.get("accessoriesType")}<br>  		
								        		</th>
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1"  aria-label="Rendering engine: activate to sort column ascending">${p.get("goodsPrice")}</th>								        		
								        		<th role="columnheader" tabindex="0" aria-controls="dynamic-table" rowspan="1" colspan="1" aria-label="Rendering engine: activate to sort column ascending"><c:if test="${p.get('img')!=null}"><img src="http://okwc9gyzs.bkt.clouddn.com/${p.get('img')}" style="width:200px"></c:if></th>  					        		
								       		</tr> 

								        	</tbody>
								       </c:forEach>
									</table>
</body>
<script src="<%=request.getContextPath() %>/js/orders/customerOrders.js"></script>
<link href="${ctxPath}/js/bootstrap-table/bootstrap-table.css" rel="stylesheet" />
<!-- tables插件的引用 -->
<script src="${ctxPath}/js/bootstrap-table/bootstrap-table.js"></script>
<script src="${ctxPath}/js/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript">
</script>
</html>
